package com.yx.pc.api.service;

import com.yx.common.utils.Query;
import com.yx.system.entity.TdOnlinePayLog;

import java.util.List;
import java.util.Map;

public interface PcTdOnlinePayLogService {
    int deleteByPrimaryKey(Integer id);

    int insert(TdOnlinePayLog record);

    int insertSelective(TdOnlinePayLog record);

    TdOnlinePayLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TdOnlinePayLog record);

    int updateByPrimaryKey(TdOnlinePayLog record);

    /**
     * 查询书籍列表
     */
    List<TdOnlinePayLog> queryList(Map<String, Object> map);

    /**
     * 查询总数
     */
    int queryTotal(Map<String, Object> map);

    TdOnlinePayLog queryByBillNo(String billNo);

    List<TdOnlinePayLog> queryList1(Query query);

    int queryTotal1(Query query);
}
